#!/bin/bash

cd /data/docker/
mkdir -p /data/docker/rocketmq/{broker,brokers}/{conf,logs,store}
mkdir -p /data/docker/rocketmq/namesrv/{conf,logs,store,controller}

chmod 777 -R  /data/docker/rocketmq

cd /data/docker/;docker-compose -f docker-compose-rocketmq.yml restart
